package com.culturaltourism.admin.mapper;

import com.culturaltourism.admin.pojo.SysMenu;
import com.culturaltourism.admin.pojo.SysMenuExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName 
 * @Description //TODO
 * @Author MaShuai
 * @Date 2019/04/29
 * @Version 1.0
 */
public interface SysMenuMapper {
    int countByExample(SysMenuExample example);

    int deleteByExample(SysMenuExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    List<SysMenu> selectByExample(SysMenuExample example);

    SysMenu selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysMenu record, @Param("example") SysMenuExample example);

    int updateByExample(@Param("record") SysMenu record, @Param("example") SysMenuExample example);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);
}